package com.dyava.commons.valueplus;

/**
 * Created by jjliu on 2017/9/10.
 */
public class BooleanPlus<P> extends ObjectPlus<Boolean,P> {

    public static <P> BooleanPlus of(Boolean b,P p){
        BooleanPlus<P> objectPlus= new BooleanPlus<P>();
        objectPlus.setValue(b);
        objectPlus.setPlus(p);
        return objectPlus;
    };

    public static BooleanPlus of(Boolean b){
        return of(b,null);
    };

}
